﻿<UserControl xmlns:View="clr-namespace:TfsBranchLib2.View" x:Class="TfsBranchLib2.View.BranchedHistoryControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             d:DesignHeight="400" d:DesignWidth="450">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <TextBox IsReadOnly="True" Background="#FFF5F5BD" Grid.Row="0" Visibility="Visible" Text="Error message"
                 Name="errorMessage" TextWrapping="Wrap" />
        <TabControl x:Name="tabControl" Grid.Row="1">
            <TabItem Header="Query">
                <View:BranchedHistoryInputControl x:Name="inputTab" />
            </TabItem>
            <TabItem Header="History" x:Name="outputTabItem">
                <View:BranchedHistoryOutputControl x:Name="outputTab" />
            </TabItem>
        </TabControl>
    </Grid>
</UserControl>